package com.cs.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import javax.annotation.Nullable;
import javax.validation.constraints.NotEmpty;
import java.util.ArrayList;

@Data
@TableName("goods_info")
public class Goods {
    private Integer id;
    private String goodsName; //名称
    private String description;  //简介
    private Double price;  //价格
//    @NotEmpty
//    @TableField(exist = false)
//    @Nullable
//    private Integer inventory; //库存
    @TableField(exist = false)
    private String size; //中大小杯
    @TableField(exist = false)
    private ArrayList<String> ingredientList; //配料
    @TableField(exist = false)
    private String temperature; //温度
    @TableField(exist = false)
    private String sweetness; //甜度
    @TableField(exist = false)
    private int goodNum;
    private String classify; //分类

    private String imgFile; //图片
    private int status; //状态
}
